lcBlockAddEllipse Home

Adds a new ellipse object into a block. It can be a full ellipse or elliptical arc.

 HANDLE lcBlockAddEllipse (
   HANDLE hBlock,
   double X,
   double Y,
   double Rmajor,
   double Rminor,
   double RotAngle,
   double StartAngle,
   double ArcAngle
 );

Parameters
hBlock
  Handle to a block.
X Y
  Coordinates of the center point.
Rmajor
  Major radius (half-length of major axis).
Rminor
  Minor radius (half-length of minor axis).
RotAngle
  Rotation angle of major axis.
StartAngle
  For elliptical arc. Start angle of the arc, relative to major axis.
ArcAngle
  For elliptical arc. Included angle of the arc.
Negative value means clockwise arc's direction from the start angle, Positive value means counter-clockwise direction.

Return Value

  Handle to created ellipse object or NULL if the function fails.

Remarks

  For full ellipse, specify zero for StartAngle and ArcAngle parameters.
Minor radius must be less or equal to major radius.